function pl(id,u){
	var p=parseInt(document.getElementById(id).value);
	if(p==1){
		var a=u.replace(/_%page_id%/g,'');
	}else{
		var a=u.replace(/%page_id%/g,p);
	}
	window.location.href=a;
}